export default{
  mounted(){
    window.addEventListener('resize',this.resizeHandel)
  },
  beforeDestory(){
    window.removeEventListener('resize',this.resizeHandel)
  },
  methods:{
    resizeHandel(){
      this.myEcharts.resize()
    }
  }
}